<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/5/21
 * Time: 17:20
 */

namespace app\api\controller\v2;


use app\api\model\ShopInfo;
use app\api\lib\exception\SuccessMessage;

class ShopInfoController extends BaseController
{
    public function getInfo()
    {
        throw new SuccessMessage([
            'data' => ShopInfo::get(1)->hidden(['id']),
        ]);
    }
}